package org.hxyjs.dao;


import org.hxyjs.entity.School;
import org.hxyjs.entity.School;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface SchoolDao {
    public List<School>  getAllSchools() throws Exception;
    Integer deleteSchoolBySno(String sno) throws Exception;
    Integer updateSchoolBySno(School school) throws Exception;
    Integer addSchool(School school) throws Exception;
    public List<School> getSchoolByPage(PageInfo pageInfo) throws Exception;
}
